package cuiyt.datastructure.stack;

/**
 * @author cyt
 * @create 2020-11-22 18:20
 */
public class StackTest {

    public static void main(String[] args) {
        CyStack<Integer> cyStack = new CyStack<>();
        cyStack.push(2);
        cyStack.push(45);
        cyStack.push(44);
        System.out.println(cyStack.pop());
        System.out.println(cyStack.size());


        System.out.println(cyStack.top());

        System.out.println(cyStack.size());
    }
}
